class C:
    def __init__(self):
        self.foo = 42


def method(foo, x):
    print(foo)


method(C().foo, 1)
